package com.laisheng.interview.mapper;

import com.laisheng.interview.model.DevelopmentExercises;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface DevelopmentExercisesMapper {
    int saveExercise(DevelopmentExercises exercises);
    List<DevelopmentExercises> getAll();
    // 新增：根据accountingId查询
    List<DevelopmentExercises> getByAccountingId(Long accountingId);
    int deleteByAccountingId(@org.apache.ibatis.annotations.Param("accountingId") Long accountingId);
}